package com.hgxd.service.impl;

import com.hgxd.entity.RobotStatu;
import com.hgxd.mapper.RobotStatuMapper;
import com.hgxd.service.IRobotStatuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 车体设备状态表 服务实现类
 * </p>
 *
 * @author wtf
 * @since 2023-12-01
 */
@Service("RobotStatuServiceImpl")
public class RobotStatuServiceImpl extends ServiceImpl<RobotStatuMapper, RobotStatu> implements IRobotStatuService {
@Resource
RobotStatuMapper robotStatuMapper;

    @Override
    public List<RobotStatu> getRobotByOrganization(String organizationName) {
        return robotStatuMapper.getRobotByOrganization(organizationName);
    }

    @Override
    public List<RobotStatu> getRobotByRobotId(Integer robotId) {
        return robotStatuMapper.getRobotByRobotId(robotId);
    }
}
